package cn.autumnorange.app.util.consumer.queue;//package cn.autumnorange.app.common.consumer.queue;
//
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.amqp.rabbit.annotation.RabbitHandler;
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.stereotype.Component;
//// 2.2）添加一个消息监听类（消费者）
////
//// 监听routingKey为notify.payment的队列消息
//@Slf4j
//@Component
//@RabbitListener(queues = "notify.payment")
//public class EmailNotifyByOrdereceive {
//    @RabbitHandler
//    public void receive(String msg) {
//        log.info("EmailNotifyByOrdereceive notify.payment receive message: "+msg);
//    }
//}